<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>YuTori Class: クラス TestofYuTori_TypeofObject</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 作成： Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'検索');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">YuTori Class</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>メインページ</span></a></li>
      <li><a href="../../pages.html"><span>関連ページ</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>データ構造</span></a></li>
      <li><a href="../../files.html"><span>ファイル</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="検索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>データ構造</span></a></li>
      <li><a href="../../classes.html"><span>データ構造索引</span></a></li>
      <li><a href="../../inherits.html"><span>クラス階層</span></a></li>
      <li><a href="../../functions.html"><span>データフィールド</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public メソッド</a>  </div>
  <div class="headertitle">
<div class="title">クラス TestofYuTori_TypeofObject</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TestofYuTori_TypeofObject" --><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public メソッド</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dbf/class_testof_yu_tori___typeof_object.html#a095c5d389db211932136b53f25f39685">__construct</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dbf/class_testof_yu_tori___typeof_object.html#a05a8a3b5812cb7362f9ffc818593a479">TestofInstance</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dbf/class_testof_yu_tori___typeof_object.html#aa39c0337e5e649f86330829af4efbd3b">TestofCall</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>説明</h2>
<div class="textblock">
<p> <a class="el" href="../../d1/d5d/system_8php_source.html">system.php</a> の <a class="el" href="../../d1/d5d/system_8php_source.html#l00341">341</a> 行で定義されています。</p>
</div><hr/><h2>コンストラクタとデストラクタ</h2>
<a class="anchor" id="a095c5d389db211932136b53f25f39685"></a><!-- doxytag: member="TestofYuTori_TypeofObject::__construct" ref="a095c5d389db211932136b53f25f39685" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__construct </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p> <a class="el" href="../../d1/d5d/system_8php_source.html">system.php</a> の <a class="el" href="../../d1/d5d/system_8php_source.html#l00343">343</a> 行で定義されています。</p>
<div class="fragment"><pre class="fragment">                                       {
                $this-&gt;ins = <span class="keyword">new</span> <a class="code" href="../../d7/d1e/classmy_cls.html">myCls</a>();
                $this-&gt;obj = <a class="code" href="../../d0/dfd/class_yu_tori.html#abc5f41aad67f5f93d46b4bebbfd2ec3a">YuTori::factory</a>(<span class="stringliteral">&#39;test&#39;</span>, $this-&gt;ins);
        }
</pre></div>
</div>
</div>
<hr/><h2>関数</h2>
<a class="anchor" id="aa39c0337e5e649f86330829af4efbd3b"></a><!-- doxytag: member="TestofYuTori_TypeofObject::TestofCall" ref="aa39c0337e5e649f86330829af4efbd3b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TestofCall </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p> <a class="el" href="../../d1/d5d/system_8php_source.html">system.php</a> の <a class="el" href="../../d1/d5d/system_8php_source.html#l00375">375</a> 行で定義されています。</p>
<div class="fragment"><pre class="fragment">                                     {
                $this-&gt;obj-&gt;set($this-&gt;ins);
                $this-&gt;assertIdentical($this-&gt;obj-&gt;call(), <span class="stringliteral">&#39;call!&#39;</span>, <span class="stringliteral">&#39;callの戻り値がcallメソッドの戻り値ではありません。&#39;</span>);
                $this-&gt;ins-&gt;flgReset ();
                $this-&gt;assertIdentical($this-&gt;obj-&gt;call(<span class="stringliteral">&#39;called&#39;</span>), <span class="stringliteral">&#39;call!&#39;</span>, <span class="stringliteral">&#39;callの戻り値がcallメソッドの戻り値ではありません。&#39;</span>);
                $this-&gt;assertIdentical($this-&gt;ins-&gt;callRes, <span class="stringliteral">&#39;called&#39;</span>, <span class="stringliteral">&#39;callに引数が渡されていません。&#39;</span>);
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a05a8a3b5812cb7362f9ffc818593a479"></a><!-- doxytag: member="TestofYuTori_TypeofObject::TestofInstance" ref="a05a8a3b5812cb7362f9ffc818593a479" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TestofInstance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p> <a class="el" href="../../d1/d5d/system_8php_source.html">system.php</a> の <a class="el" href="../../d1/d5d/system_8php_source.html#l00349">349</a> 行で定義されています。</p>
<div class="fragment"><pre class="fragment">                                         {
                $this-&gt;ins-&gt;flgReset ();
                
                $this-&gt;assertTrue($this-&gt;obj-&gt;get()-&gt;beforeGet, <span class="stringliteral">&#39;_beforeGetメソッドが動作していません。&#39;</span>);
                $this-&gt;assertTrue($this-&gt;obj-&gt;get()-&gt;afterGet, <span class="stringliteral">&#39;_afterGetメソッドが動作していません。&#39;</span>);
                $this-&gt;assertFalse($this-&gt;obj-&gt;get()-&gt;beforeSet, <span class="stringliteral">&#39;_beforeSetメソッドが動作しています。&#39;</span>);
                $this-&gt;assertFalse($this-&gt;obj-&gt;get()-&gt;afterSet, <span class="stringliteral">&#39;_afterSetメソッドが動作しています。&#39;</span>);
                $this-&gt;ins-&gt;flgReset ();
                
                $newObj = <span class="keyword">new</span> stdClass ();
                $this-&gt;assertTrue($this-&gt;obj-&gt;set ($newObj) === $this-&gt;obj, <span class="stringliteral">&#39;setの戻り値が自分自身ではありません。&#39;</span>);
                $this-&gt;assertIdentical($this-&gt;obj-&gt;get(), $newObj, <span class="stringliteral">&#39;setに同一の型（オブジェクト）を指定しても値が変更されませんでした。&#39;</span>);
                
                $this-&gt;obj-&gt;set ($this-&gt;ins);
                
                $this-&gt;assertTrue($this-&gt;obj-&gt;get()-&gt;beforeGet, <span class="stringliteral">&#39;_beforeGetメソッドが動作していません。&#39;</span>);
                $this-&gt;assertTrue($this-&gt;obj-&gt;get()-&gt;afterGet, <span class="stringliteral">&#39;_afterGetメソッドが動作していません。&#39;</span>);
                $this-&gt;assertTrue($this-&gt;obj-&gt;get()-&gt;beforeSet, <span class="stringliteral">&#39;_beforeSetメソッドが動作していません。&#39;</span>);
                $this-&gt;assertTrue($this-&gt;obj-&gt;get()-&gt;afterSet, <span class="stringliteral">&#39;_afterSetメソッドが動作していません。&#39;</span>);
                $this-&gt;ins-&gt;flgReset ();
                
                <span class="comment">// 紛らわしいので戻す</span>
                $this-&gt;obj-&gt;set($this-&gt;ins);
        }
</pre></div>
</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全て</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>データ構造</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>関数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>変数</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>YuTori Classに対してMon May 21 2012 00:22:17に生成されました。&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
